feat(kubernetes): add proxy-pod supervisor topology#2077
Open
TaylorMutch wants to merge 2 commits into
Open
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
🌿 Preview your docs: https://nvidia-preview-pr-2077.docs.buildwithfern.com/openshell |
a886a49 to
9b0766c
Compare
8 tasks
|
Label |
9b0766c to
15e2ee5
Compare
4f981c2 to
8c9ae53
Compare
eec701a to
0928bf7
Compare
e00a00b to
ed858eb
Compare
0928bf7 to
56f0af1
Compare
3d80066 to
254cdbe
Compare
915bf6e to
5048448
Compare
9d3bef7 to
93b86f8
Compare
Add the Kubernetes proxy-pod topology with one supervisor Deployment and Service per sandbox, NetworkPolicy confinement, proxy-pod Helm/Skaffold configuration, topology documentation, and focused supervisor identity tests. Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
5048448 to
6e3af24
Compare
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the Kubernetes
proxy-podtopology on top of the sidecar topology merged in #2076.proxy-podmoves network enforcement and gateway forwarding into a per-sandbox supervisor Deployment paired 1:1 with the workload pod. The sandbox image runs directly in the workload container; the OpenShell supervisor is not mounted or executed there. This is intentionally a network-only topology and requires Kubernetes NetworkPolicy enforcement.The product tradeoff is explicit: filesystem/process policy, binary detection, SSH/connect, exec, upload/download, sync, and dynamic provider environment injection are unavailable in this topology. Use
combinedorsidecarwhen those capabilities are required.Related Issue
References #1827, #981, #899, #1305.
Related PRs: #1973, #2074, #2076, #2016.
Changes
proxy-podsupervisor topology.proxy_pod.proxy_uid/supervisor.proxyPod.proxyUidconfiguration.proxy_pod.affinity/supervisor.proxyPod.affinitywithdisabled(default),preferred, andrequiredsame-node placement modes.Testing
git diff --checkcargo test -p openshell-driver-kubernetes --lib(131 passed)mise run helm:test(70 passed)mise run helm:docs:checkmise run pre-commitThe earlier SSH/exec-driven proxy-pod E2E results predate the direct-workload change. They are retained as evidence for the paired network proxy, but do not validate the intentionally removed process-supervisor session path.
Checklist